package cn.drew.house.service;

import cn.drew.basic.utils.PageList;
import cn.drew.house.domain.RentingInformation;
import cn.drew.house.query.RentingInformationQuery;


import java.util.List;

public interface RentingInformationService {
    //添加
    void add(RentingInformation RentingInformation);
    //修改
    void update(RentingInformation RentingInformation);
    //删除
    void delete(Long id);
    //查找一个
    RentingInformation findById(Long id);
    //查找所有
    List<RentingInformation> findAll();

    //分页查找数据
    PageList<RentingInformation> queryByPage(RentingInformationQuery RentingInformationQuery);

    //批量删除
    void patchDelete(List<Long> ids);

    //根据部门id查找所有员工
//    List<RentingInformation> findByDeptid(Long deptid);
}
